<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div id="app">
      <router-link to="/foo">Go to Foo</router-link>
      <router-link to="/bar">Go to Bar</router-link>
      <div @click="to">点击</div>
      <transition name="fade">
        <router-view></router-view>
      </transition>
      <div @click="pop">测试popstate</div>
    </div>
  </body>
</html>
